package org.jeecg.modules.classrooms.company.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: company
 * @Author: jeecg-boot
 * @Date:   2020-05-18
 * @Version: V1.0
 */
@Data
@TableName("company")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="company对象", description="company")
public class Company implements Serializable {
    private static final long serialVersionUID = 1L;

	/**企业id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "企业id")
    private String id;
	/**企业名称*/
	@Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
    private String companyName;
	/**合作类型*/
	@Excel(name = "合作类型", width = 15, dicCode = "company_type")
	@Dict(dicCode = "company_type")
    @ApiModelProperty(value = "合作类型")
    private String companyType;
	/**企业联系人 */
	@Excel(name = "企业联系人 ", width = 15)
    @ApiModelProperty(value = "企业联系人 ")
    private String companyLinkman;
    /**企业联系人电话 */
    @Excel(name = "企业联系人电话 ", width = 15)
    @ApiModelProperty(value = "企业联系人电话 ")
    private String phoneNumber;
	/**是否合作 */
	@Excel(name = "是否合作 ", width = 15)
    @ApiModelProperty(value = "是否合作 ")
    private String isok;
	/**企业简介 */
	@Excel(name = "企业简介 ", width = 15)
    @ApiModelProperty(value = "企业简介 ")
    private String companyDescription;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
